<?php
class NoContent extends Portlet
{
	
	public function init()
	{
		$this->htmlOptions = array('class'=>'noresult');
		parent::init();
	}
	
	protected function renderContent()
	{
		echo CHtml::openTag('div',array('class'=>'inner'));
		echo CHtml::image('/img/no_page.jpg');
		echo CHtml::tag('p',array(),Yii::t('default', 'no_content'));
		echo CHtml::closeTag('div');
	}
}
